package com.netease.service.impl;

import com.netease.bo.ModelTableBO;
import com.netease.mapper.ModelTableMapper;
import com.netease.service.ModelTableService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.HashMap;

/**
 * @projectName: modeling-dev
 * @package: com.netease.service.impl
 * @className: ModelTableServiceImpl
 * @author: aochong
 * @description: 模型表服务实现
 * @date: 2023/4/24 16:27
 * @version: 1.0
 */
@Service
public class ModelTableServiceImpl implements ModelTableService {

    @Autowired
    private ModelTableMapper modelTableMapper;

    @Override
    public String ddlGenerat(ModelTableBO modelTableBO) {
        return modelTableMapper.builderTableDdl(modelTableBO);
    }

    @Override
    public String dmlGenerat(ModelTableBO modelTableBO) {
        return modelTableMapper.builderTableDml(modelTableBO);
    }
}
